package com.government.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.government.member.domain.UserPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPlanMapper extends BaseMapper<UserPlan> {

    int getPlanCount(@Param("createTime") String createTime, @Param("userId") Long userId);

    List<UserPlan> getUserPlan(@Param("rpc") int rpc, @Param("userId") Long userId);

}
